package org.test.ddd.domain.impl.db;

import org.springframework.stereotype.Repository;
import org.test.ddd.domain.models.LeverUser;
import org.test.ddd.domain.models.LoanRecord;
import org.test.ddd.domain.models.MyLoanRecords;

import java.math.BigDecimal;
import java.util.Iterator;
import java.util.List;

@Repository
public class MyLoanRecordsDB implements MyLoanRecords {
    private LeverUser leverUser;
    public MyLoanRecordsDB(LeverUser leverUser) {
        this.leverUser = leverUser;
    }

    @Override
    public List<LoanRecord> subList(int from, int size) {

        return null;
    }

    @Override
    public BigDecimal getTotalInterest() {
        return null;
    }

    @Override
    public Iterator<LoanRecord> iterator() {
        return null;
    }
}
